package es.juanc.io;

import java.io.BufferedWriter;
import java.io.IOException;
import java.io.OutputStreamWriter;

public class OutInErrTest {

	/**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException {
		
		BufferedWriter bw = new BufferedWriter ( new OutputStreamWriter( System.out ) );
		
		bw.write( "una\n" );
		bw.write( "dos\n" );
		bw.write( "tres\n" );

		bw.flush();
		bw.close();
	}
}